.shares-tabs-bl,
.s4-tabs-bl {
    background-color: var(--mobile-page-background);
    border-bottom: 1px solid var(--surface-grey-2);
    padding: 0 15px;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    width: 100%;
    transition: 200ms linear;
}
.shares-tabs-bl {
    padding: 0 24px;
}
.rtl .gallery-tabs-bl,
.rtl .s4-user-tabs-bl,
.rtl .shares-tabs-bl {
    direction: rtl;
}
.fm-right-files-block.emptied .gallery-tabs-bl button:not(.gallery-close-discovery) {
    display: none;
}
.gallery-section-title {
    font: var(--text-body1);
    color: var(--text-color-high);
    line-height: 26px;
    margin-inline-end: auto;
}
.gallery-tabs-bl {
    padding-inline: 20px 0;
}
.gallery-section-discovery {
    flex: 10000 1 0%;
    position: relative;
}
.rtl .gallery-section-discovery {
    text-align: left;
}
body:not(.rtl) .gallery-section-discovery {
    text-align: right;
}
.rtl .gallery-section-title {
    left: auto;
    right: 25px;
}
.gallery-section-title i {
    --icon-size: 24px;
    --mask-color: var(--secondary-blue);
    margin-inline-end: 8px;
}
.shares-tab-lnk,
.s4-tab-lnk {
    cursor: pointer;
    font: var(--text-h3);
    color: var(--text-color-high);
    opacity: 0.7;
    padding: 12px 24px;
    margin: 0;
    background-color: transparent;
    border: 0;
    outline: 0;
    border-bottom: 2px solid transparent;
    float: left;
    box-sizing: border-box;
    height: 48px;
    position: relative;
    margin-bottom: -1px;
    white-space: nowrap;
}
.shares-tab-lnk.filled,
.s4-tab-lnk.filled {
    padding: 4px 5px 0 24px;
}
.shares-tab-lnk span,
.s4-tab-lnk span {
    font: var(--text-body2);
    line-height: 14px;
    height: 14px;
    color: white;
    margin: 4px 0 0 9px;
    vertical-align: top;
    display: none;
    text-align: center;
    padding: 0 4px;
    border-radius: 4px;
}
.shares-tab-lnk.filled span,
.s4-tab-lnk.filled span {
    display: inline-block;
}
.shares-tab-lnk.active,
.s4-tab-lnk.active {
    font: var(--text-h3-bold);
    border-color: var(--mobile-border-brand);
    color: var(--text-color-high);
    opacity: 1;
}
